SGGetChannelUsage
TheSGGetChannelUsage
function allows the sequence grabber to determine how your channel is to be used.
pascal ComponentResult SGGetChannelUsage (SGChannel c, long *usage);
c
- Identifies the channel connection for this operation.
usage
- Contains a pointer to a location that is to receive flags specifying how your channel is to be used. You may set more than one of these flags to 1. Set unused flags to 0. The following flags are defined by the
SeqGrabUsageEnum
data type:seqGrabRecord
- Indicates that your channel is to be used during record operations. Set this flag to 1 if your channel is being used for recording.
seqGrabPreview
- Indicates that your channel is to be used during preview operations. Set this flag to 1 if your channel is being used for previewing.
seqGrabPlayDuringRecord
- Indicates that your component is to play its captured data during a record operation. Set this flag to 1 if your channel plays its captured data during a record operation.
SEE ALSO
The sequence grabber component establishes your channel's usage by calling yourSGSetChannelUsage
function, described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help